package com.design.model.bridge;

/**
 * @program: study
 * @className: Test
 * @description: TODO
 * @author: kukuxiahuni
 * @create: 2019-07-01 11:58
 * @version: v1.0
 **/
public class Test {
    public static void main(String[] args) {
        Abstraction abstraction = new RefinedAbstraction();
        abstraction.setImplementor(new ConcreteImplementorA());
        abstraction.operation();

        abstraction.setImplementor(new ConcreteImplementorB());
        abstraction.operation();
    }
}
